package com.team.mapper;

import com.github.pagehelper.PageInfo;
import com.team.pojo.AppInfo;
import com.team.pojo.AppInfoCondition;
import com.team.pojo.AppInfoExample;
import java.util.List;

public interface AppInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AppInfo record);

    int insertSelective(AppInfo record);

    List<AppInfo> selectByExample(AppInfoExample example);

    AppInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AppInfo record);

    int updateByPrimaryKey(AppInfo record);
    //条件查询app信息的方法  依赖于查询结果匹配返回的信息
    List <AppInfo> searchAppInfo(AppInfoCondition condition);

    //修改显示当前App的信息
    AppInfo selectByPrimaryKey2(Long id);

    //查询所有待审核APP信息
    List<AppInfo> getNoPassAppInfo(AppInfoCondition appInfoCondition);

    //查询APP信息关联状态名称，平台名称，各级分类名称
    AppInfo selectByPrimaryKey3(Long id);
}